package com.wct.mall.service;

import com.wct.mall.domain.PmsProductCategoryAttributeRelation;
import com.wct.mall.mapper.PmsProductCategoryAttributeRelationMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PmsProductCategoryAttributeRelationService {

    @Resource
    private PmsProductCategoryAttributeRelationMapper pmsProductCategoryAttributeRelationMapper;


    public int deleteByPrimaryKey(Long id) {
        return pmsProductCategoryAttributeRelationMapper.deleteByPrimaryKey(id);
    }


    public int insert(PmsProductCategoryAttributeRelation record) {
        return pmsProductCategoryAttributeRelationMapper.insert(record);
    }


    public int insertSelective(PmsProductCategoryAttributeRelation record) {
        return pmsProductCategoryAttributeRelationMapper.insertSelective(record);
    }


    public PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id) {
        return pmsProductCategoryAttributeRelationMapper.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation record) {
        return pmsProductCategoryAttributeRelationMapper.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(PmsProductCategoryAttributeRelation record) {
        return pmsProductCategoryAttributeRelationMapper.updateByPrimaryKey(record);
    }

}

